import { Application } from 'egg';

export default (app: Application) => {
  const { controller, router } = app;

  router.get('/', controller.home.index);
  // router.all('/api/*', controller.home.proxy);
  router.get('user', '/api/user', controller.user.queryUserInfo);
};
